package com.zb.jnlxc.model;

import com.ZLHW.base.HTable.HIntTable;
import com.ZLHW.base.table.TableDeclare;

import javax.persistence.*;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 14-8-16
 * Time: 上午11:06
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name="JNLXC_LiaoKuangWeightRecord")
@TableDeclare(comment = "料框", tableName = "LiaoKuangWeightRecord")
public class LiaoKuangWeightRecord extends HIntTable {
    @ManyToOne
    private LiaoKuang liaoKuang;

    @ManyToOne
    private Admin operator; //操作员

    private Integer realWeight;//实际重量

    private Integer theoryWeight;//理论重量

    private Integer quantity;//隔条数量

    private Integer totalWeight;//总重量

    private String remark;

    public LiaoKuang getLiaoKuang() {
        return liaoKuang;
    }

    public void setLiaoKuang(LiaoKuang liaoKuang) {
        this.liaoKuang = liaoKuang;
    }

    public Admin getOperator() {
        return operator;
    }

    public void setOperator(Admin operator) {
        this.operator = operator;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getRealWeight() {
        return realWeight;
    }

    public void setRealWeight(Integer realWeight) {
        this.realWeight = realWeight;
    }

    public Integer getTheoryWeight() {
        return theoryWeight;
    }

    public void setTheoryWeight(Integer theoryWeight) {
        this.theoryWeight = theoryWeight;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Integer getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(Integer totalWeight) {
        this.totalWeight = totalWeight;
    }
}
